package com.atguigu.mybaits_plus_test.service.impl;

import com.atguigu.mybaits_plus_test.mapper.LogIceColdMonitorMapper;
import com.atguigu.mybaits_plus_test.pojo.LogIceColdMonitor;
import com.atguigu.mybaits_plus_test.service.LogIceColdMonitorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LogIceColdMonitorServiceImpl implements LogIceColdMonitorService {

    @Resource
    private LogIceColdMonitorMapper logIceColdMonitorMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return logIceColdMonitorMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(LogIceColdMonitor record) {
        return logIceColdMonitorMapper.insert(record);
    }

    @Override
    public int insertSelective(LogIceColdMonitor record) {
        return logIceColdMonitorMapper.insertSelective(record);
    }

    @Override
    public LogIceColdMonitor selectByPrimaryKey(Integer id) {
        return logIceColdMonitorMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(LogIceColdMonitor record) {
        return logIceColdMonitorMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(LogIceColdMonitor record) {
        return logIceColdMonitorMapper.updateByPrimaryKey(record);
    }

}
